remove

public abstract void remove(String name)

Removes an attribute with the given name.

This method does nothing if an attribute with the given name is not specified on the element.

Parameters

name

the name of the attribute to remove

Throws

when name is empty or blank

when the element is closed